$(function () {
    $.ajax(`${baseUrl}/slides`, {
        success: function (res) {
            const newHtml = template("slide-temp", { slideList: res })
            $(".table tbody").html(newHtml)
        },
        error: err => console.log(err),
    })
})
